<template>
    <div>
        <a-modal
         v-model:visible="visible" 
         title="查看" 
         :footer="null"
         width="100%"
         wrapClassName="infoManage-full-modal"
         >
            <div :key="dataKey">
                <personalProfile :fuserid="fuserid" />
            </div>
        </a-modal>
        
    </div>
</template>
<script>
import personalProfile from '../../n-1-inspectorManage/personalProfile/index'
export default {
    components:{
        personalProfile,
    },
    props:{

    },
    data(){
        return{
            dataKey:null,
            visible:false,
            fuserid:'',
        }
    },
    watch:{

    },
    mounted(){
        
    },
    methods:{
        getData(row){
            this.fuserid = row.id
        },
    }
}
</script>
<style lang="less">
.infoManage-full-modal{
    .ant-modal {
        max-width: 100%;
        top: 0;
        padding-bottom: 0;
        margin: 0;
    }
    .ant-modal-content {
        display: flex;
        flex-direction: column;
        height: calc(100vh);
        background-color: #fff;
    }
    .ant-modal-body {
        flex: 1;
        padding: 12px;
        background-color: #fff;
    }
}

</style>